FROM openanolis/anolisos:8.6

LABEL \
        maintainer="OpenAnolis Cloud Native SIG" \
        org.opencontainers.image.title=php \
        org.opencontainers.image.version=7.2.24

RUN yum -y update \
    && yum -y install php php-devel \
    && yum clean all

COPY docker-entrypoint.sh /usr/local/bin/

ENTRYPOINT ["docker-entrypoint.sh"]

CMD ["php", "-a"]
